package lesson06.timer;

import java.util.Timer;
import java.util.TimerTask;

/**
 * 功能描述
 *
 * @author wileda
 * @date 2023/01/12  17:37
 */
public class Demo_Timer01{
    public static void main(String[] args) {
        Timer timer = new Timer();
        timer.schedule(new TimerTask() {
            @Override
            public void run() {

            }
        }, 1000);
    }
}